package tech.treec.smartlight.entity;

/**
 * Created by Young on 2017/5/23.
 * 配置文件
 */

public class ConfigEntity extends MqttMsg {
    /**
     * 服务器地址
     */
    private String ServerIp = "192.168.99.11";
    private int ServerPort = 8080;
    /**
     * Scheduler更新方式
     * TF HTTP
     */
    private String SchedulerType="HTTP";
    /**
     * 计划文件路径
     */
    private String SchedulerFile = "/billboard/Scheduler.zip";
    /**
     * 屏幕宽度、高度
     */
    private int ScreenWidth;
    private int ScreenHeight;
    /**
     * 最小检测计划间隔
     * 单位：分钟
     * 默认5分钟一次
     */
    private int MiniCheckSpace = 1;

    /**
     * Mqtt
     */
    private String MqttBroker = "127.0.0.1";
    private int MqttPort = 1883;
    private String MqttTopic = "BillBoard_Topic_01";

    public int getMiniCheckSpace() {
        return MiniCheckSpace;
    }

    public void setMiniCheckSpace(int miniCheckSpace) {
        MiniCheckSpace = miniCheckSpace;
    }

    public String getServerIp() {
        return ServerIp;
    }

    public void setServerIp(String serverIp) {
        ServerIp = serverIp;
    }

    public int getServerPort() {
        return ServerPort;
    }

    public void setServerPort(int serverPort) {
        ServerPort = serverPort;
    }

    public String getSchedulerType() {
        return SchedulerType;
    }

    public void setSchedulerType(String schedulerType) {
        SchedulerType = schedulerType;
    }

    public String getSchedulerFile() {
        return SchedulerFile;
    }

    public void setSchedulerFile(String schedulerFile) {
        SchedulerFile = schedulerFile;
    }

    public int getScreenWidth() {
        return ScreenWidth;
    }

    public void setScreenWidth(int screenWidth) {
        ScreenWidth = screenWidth;
    }

    public int getScreenHeight() {
        return ScreenHeight;
    }

    public void setScreenHeight(int screenHeight) {
        ScreenHeight = screenHeight;
    }

    public String getMqttBroker() {
        return MqttBroker;
    }

    public void setMqttBroker(String mqttBroker) {
        MqttBroker = mqttBroker;
    }

    public int getMqttPort() {
        return MqttPort;
    }

    public void setMqttPort(int mqttPort) {
        MqttPort = mqttPort;
    }

    public String getMqttTopic() {
        return MqttTopic;
    }

    public void setMqttTopic(String mqttTopic) {
        MqttTopic = mqttTopic;
    }
}
